package cn.iocoder.yudao.module.trade.controller.admin.ordersafetychecktemplate.vo;

import cn.iocoder.yudao.module.trade.controller.admin.ordersafetychecktemplateitem.vo.OrderSafetyCheckTemplateItemRespVO;
import cn.iocoder.yudao.module.trade.controller.admin.ordersafetycheckterm.vo.OrderSafetyCheckTermRespVO;
import cn.iocoder.yudao.module.trade.controller.admin.ordersafetycheckterm.vo.OrderSafetyCheckTermSaveReqVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 安全检查服务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderSafetyCheckTemplateRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2169")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "服务商品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务商品编号")
    private String code;

    @Schema(description = "服务商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("服务商品名称")
    private String name;

    @Schema(description = "服务商品分类", requiredMode = Schema.RequiredMode.REQUIRED,example = "0")
    @ExcelProperty("服务商品分类id")
    private Integer categoryId;

    @Schema(description = "服务有效期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务有效期")
    private String expirationDate;

    @Schema(description = "燃气户类型(0.居民，1.商业，2.工业，3.商服)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("燃气户类型(0.居民，1.商业，2.工业，3.商服)")
    private Integer gasUserType;

    @Schema(description = "状态（0.停用，1.启用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态（0.停用，1.启用）")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "检查项", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer items;

    @Schema(description = "安检项详情")
    private List<OrderSafetyCheckTermRespVO> termSaveReqVOList;

    private List<OrderSafetyCheckTemplateItemRespVO> itemRespVOList;
}